<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宿舍网站首页</title>
    <style>
      body {
    font-family: '微软雅黑', '宋体', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f9f9f9, #e0f7fa); /* 渐变色背景 */
    color: #333; /* 深灰色文字 */
    line-height: 1.6;
}

/* 头部样式 */
.header, header {
    background: linear-gradient(135deg, #4CAF50, #81C784); /* 绿色渐变 */
    padding: 20px;
    text-align: center;
    color: white;
    font-family: 'Comic Sans MS', '手写体', cursive; /* 手写体 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1, header .logo {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 导航栏样式 */
.nav, header nav {
    background: linear-gradient(135deg, #FFA500, #FFB74D); /* 橙色渐变 */
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav a, header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-family: 'Comic Sans MS', '手写体', cursive; /* 手写体 */
    transition: color 0.3s ease;
}

.nav a:hover, header nav a:hover {
    color: #FFD54F; /* 浅黄色 */
    text-decoration: underline;
}

/* 主要内容区域样式 */
.home, main {
    padding: 20px;
    background: white;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.home h2, main h2 {
    color: #4CAF50; /* 绿色 */
    font-family: 'Comic Sans MS', '手写体', cursive; /* 手写体 */
    font-size: 28px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.home p, main p {
    color: #555;
    font-size: 16px;
}

/* 成员介绍样式 */
.members-intro .member {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f1f1f1, #e0f7fa); /* 浅灰色渐变 */
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.members-intro .member:hover {
    transform: translateY(-5px); /* 悬停时上移 */
}

.members-intro .member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    border: 3px solid #4CAF50; /* 绿色边框 */
}

.members-intro .member-info p {
    margin: 5px 0;
    font-size: 16px;
}

/* 宿舍全家福样式 */
.family-photo img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 值日表样式 */
.duty-table table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
}

.footer p {
    margin: 5px 0;
}

    </style>
</head>
<body>
    <header>
        <div class="logo">回寝的诱惑之宿舍成员</div>
    </header>
    <!-- 主要内容区域 -->
    <main>
        <section class="members-intro">
            <h2>成员介绍</h2>
            <div class="member">
                <img src="chenyang.jpg" alt="陈杨">
                <div class="member-info">
                    <p><strong>姓名:</strong>陈杨</p>
                    <p><strong>专业:</strong>软件技术</p>
                    <p><strong>兴趣爱好:</strong>唱歌，跳舞，追星</p>
                    <p><strong>特点:</strong>比较啰嗦，自恋</p>
                </div>
            </div>
            <div class="member">
                <img src="huanhuan.jpg" alt="欢欢">
                <div class="member-info">
                    <p><strong>姓名:</strong> 欢欢</p>
                    <p><strong>专业:</strong>软件技术</p>
                    <p><strong>兴趣爱好:</strong>打游戏，还是打游戏</p>
                   <p><strong>特点:</strong>爱打游戏</p>
                </div>
            </div>
            <div class="member">
                <img src="jingjing.jpg" alt="晶晶">
                <div class="member-info">
                   <p><strong>姓名:</strong>晶晶</p>
                    <p><strong>专业:</strong>软件专业</p>
                    <p><strong>兴趣爱好:</strong>打游戏，睡觉</p>
                   <p><strong>特点:</strong>安静</p>
                </div>
            </div>
                <div class="member">
                    <img src="jiaoyun.jpg" alt="蛟云">
                    <div class="member-info">
                       <p><strong>姓名:</strong>蛟云</p>
                        <p><strong>专业:</strong>软件专业</p>
                        <p><strong>兴趣爱好:</strong>打羽毛球，打乒乓球</p>
                        <p><strong>特点:</strong>爱玩爱睡觉</p>
                    </div>
            </div>
        </section>

        <section class="family-photo">
            <h2>宿舍全家福</h2>
            <img src="hezhao.jpg" alt="宿舍全家福">
        </section>

        <section class="duty-table">
            <h2>宿舍值日表</h2>
            <table>
                <thead>
                    <tr>
                        <th>星期&nbsp;&nbsp;&nbsp;</th>
                        <th>值日生</th>
                        <th>任务</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>星期一&nbsp;&nbsp;</td>
                        <td>陈杨</td>
                        <td>扫地、倒垃圾</td>
                    </tr>
                    <tr>
                        <td>星期三&nbsp;&nbsp;</td>
                        <td>欢欢</td>
                        <td>扫地、倒垃圾</td>
                    </tr>
                    <tr>
                        <td>星期五&nbsp;&nbsp;</td>
                        <td>晶晶</td>
                        <td>扫地、倒垃圾</td>
                    </tr>
                    <tr>
                        <td>星期日&nbsp;&nbsp;</td>
                        <td>蛟云</td>
                        <td>扫地、倒垃圾</td>
                    </tr>
                   
                </tbody>
            </table>
        </section>
    </main>

    <div class="footer">
        <p>&copy; @10213宿舍版权所有.</p>
        <p>联系方式: 123-456-7890</p>
    </div>
</body>
</html>
    
</body>
</html>
